<!--
 * @Author: 高瑞寒 15932717091@163.com
 * @Date: 2022-12-13 10:18:36
 * @LastEditTime: 2022-12-13 11:23:51
 * @LastEditors: 高瑞寒 15932717091@163.com
 * @Description: 
-->
<script setup lang="ts">
import { getUserInfoApi } from "@/api/index";
const init = async () => {
  const res = await getUserInfoApi();
  console.log(res.name);
};
init();
</script>

<template>
  <div>测试 ts 封装 axios</div>
</template>

<style scoped></style>
